package com.alageek.study;

import com.alageek.study.api.Print;
import com.alageek.study.api.impl.PrintBanner;

/**
 * 适配器模式
 */
public class Main {
    public static void main(String[] args) {
        Print p = new PrintBanner("Hello");
        p.printWeak();
        p.printStrong();
    }
}
